
package com.xianyu.us.pojo.entity;

import java.io.Serializable;

import org.springframework.web.servlet.tags.Param;

/**
 * 支付提交的相关信息类，包含了业务需要的信息和支付宝必须的信息
 * @author wangshili
 *
 */
public class UsPayOrderParam extends Param implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = -6712483645479373801L;

	/*卖家id*/
	private Integer sellerId;
	/*买家id*/
	private Integer buyerId;
	/*商品id*/
	private Integer commoditysId;
	/*商户订单号*/
	private String out_trade_no;
	/*总金额*/
    private String total_amount;
    /*订单名称*/
    private String subject;
    /*销售产品码，与支付宝签约的产品码名称*/
    private String product_code;
    /*该笔订单允许的最晚付款时间，逾期将关闭交易*/
    private String timeout_express;
    /*商品描述*/
    private String body;
    /*收货地址*/
    private String recAddr;
    /*商品数量*/
    private String number;
    
    
	public String getBody() {
		return body;
	}

	public void setBody(String body) {
		this.body = body;
	}

	public String getOut_trade_no() {
        return out_trade_no;
    }
 
    public String getTotal_amount() {
        return total_amount;
    }
 
    public String getSubject() {
        return subject;
    }
 
    public String getProduct_code() {
        return product_code;
    }
 
    public String getTimeout_express() {
        return timeout_express;
    }
 
    public void setOut_trade_no(String out_trade_no) {
        this.out_trade_no = out_trade_no;
    }
 
    public void setTotal_amount(String total_amount) {
        this.total_amount = total_amount;
    }
 
    public void setSubject(String subject) {
        this.subject = subject;
    }
 
    public void setProduct_code(String product_code) {
        this.product_code = product_code;
    }
 
    public void setTimeout_express(String timeout_express) {
        this.timeout_express = timeout_express;
    }



	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}

	public Integer getSellerId() {
		return sellerId;
	}

	public void setSellerId(Integer sellerId) {
		this.sellerId = sellerId;
	}

	public Integer getBuyerId() {
		return buyerId;
	}

	public void setBuyerId(Integer buyerId) {
		this.buyerId = buyerId;
	}

	public Integer getCommoditysId() {
		return commoditysId;
	}

	public void setCommoditysId(Integer commoditysId) {
		this.commoditysId = commoditysId;
	}

	public String getRecAddr() {
		return recAddr;
	}

	public void setRecAddr(String recAddr) {
		this.recAddr = recAddr;
	}

	@Override
	public String toString() {
		return "UsPayOrderParam [sellerId=" + sellerId + ", buyerId=" + buyerId + ", commoditysId=" + commoditysId
				+ ", out_trade_no=" + out_trade_no + ", total_amount=" + total_amount + ", subject=" + subject
				+ ", product_code=" + product_code + ", timeout_express=" + timeout_express + ", body=" + body
				+ ", recAddr=" + recAddr + ", number=" + number + "]";
	}

	
	
    
}
